using System;

namespace AntEater.Runtime.UI
{
    /// <summary>
    /// The context which is provided to each presenter.
    /// </summary>
    public class PresenterContext
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:PresenterContext"/> class.
        /// </summary>
        /// <param name="runtime">The runtime.</param>
        public PresenterContext(IAntEaterRuntime runtime) {
            this._runtime = runtime;
        }

        private IAntEaterRuntime _runtime;

        /// <summary>
        /// Gets the runtime.
        /// </summary>
        /// <value>The runtime.</value>
        public IAntEaterRuntime Runtime {
            get { return _runtime; }
        }
    }
}
